import { useNavigate } from "react-router-dom";

export default function Personal() {
  // 获取用于页面跳转的方法
  const navigate = useNavigate();
  // 渲染视图
  return (
    <li onClick={() => navigate("/patient")}>
      <span>家庭档案</span>
    </li>
  );
}
export default function Fast() {
    return (
      <Header
        title="极速问诊"
        link="问诊记录"
        linkHandler={() => navigate("/record/fast")}
      />
    );
  }
